export interface sellerItem {
  name: string;
  value: number;
}
//商家销量列表
export type sellerList = {
  sellerList: sellerItem[];
  countPage: number;
  nowPage: number;
};

//商家销量趋势数据
export interface Data {
  name: string;
  data: string[];
}

export interface Map {
  title: string;
  base: number;
  unit: string;
  data: Data[];
}

export interface Data {
  name: string;
  data: string[];
}

export interface Seller {
  title: string;
  base: number;
  unit: string;
  data: Data[];
}

export interface Data {
  name: string;
  data: string[];
}

export interface Commodity {
  title: string;
  base: number;
  unit: string;
  data: Data[];
}

export interface Common {
  month: string[];
}

export interface Type {
  key: string;
  text: string;
}

// interface TrendData {
//   [key: string]: any;
// }

export interface TrendData {
  seller: Seller;
  commodity: Commodity;
  // common: Common;
  // type: Type[];
  type: any;
  common: any;
  [map: string]: Map;
}
